package com.ruoyi.system.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 供应商条例对象 pcm_supplier_clause
 * 
 * @author ruoyi
 * @date 2023-11-27
 */
public class PcmSupplierClause extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 供应商条例ID */
    private Long supplierClauseID;

    /** 条例标题 */
    @Excel(name = "条例标题")
    private String clauseTitle;

    /** 总分 */
    @Excel(name = "总分")
    private Long totalScore;

    /** 得分 */
    @Excel(name = "总分")
    private Long srmScore;

    /** 提交人 */
    @Excel(name = "提交人")
    private Long pddPeople;

    /** 提交时间 */
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime submissionTime;

    /** 更新时间 */
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updatedTime;

    private  PcmAudit pcmAudit;

    /** 供应商条列内容信息 */
    private List<PcmSupplierRating> pcmSupplierRatingList;

    private List<SysUser> sysUserList;

    public PcmAudit getPcmAudit() {
        return pcmAudit;
    }

    public void setPcmAudit(PcmAudit pcmAudit) {
        this.pcmAudit = pcmAudit;
    }

    public List<SysUser> getSysUserList() {
        return sysUserList;
    }

    public Long getSupplierClauseID() {
        return supplierClauseID;
    }

    public void setSupplierClauseID(Long supplierClauseID) {
        this.supplierClauseID = supplierClauseID;
    }

    public String getClauseTitle() {
        return clauseTitle;
    }

    public void setClauseTitle(String clauseTitle) {
        this.clauseTitle = clauseTitle;
    }

    public Long getTotalScore() {
        return totalScore;
    }

    public void setTotalScore(Long totalScore) {
        this.totalScore = totalScore;
    }

    public Long getSrmScore() {
        return srmScore;
    }

    public void setSrmScore(Long srmScore) {
        this.srmScore = srmScore;
    }

    public Long getPddPeople() {
        return pddPeople;
    }

    public void setPddPeople(Long pddPeople) {
        this.pddPeople = pddPeople;
    }

    public LocalDateTime getSubmissionTime() {
        return submissionTime;
    }

    public void setSubmissionTime(LocalDateTime submissionTime) {
        this.submissionTime = submissionTime;
    }

    public LocalDateTime getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(LocalDateTime updatedTime) {
        this.updatedTime = updatedTime;
    }

    public List<PcmSupplierRating> getPcmSupplierRatingList() {
        return pcmSupplierRatingList;
    }

    public void setPcmSupplierRatingList(List<PcmSupplierRating> pcmSupplierRatingList) {
        this.pcmSupplierRatingList = pcmSupplierRatingList;
    }

    public void setSysUserList(List<SysUser> sysUserList) {
        this.sysUserList = sysUserList;
    }

    @Override
    public String toString() {
        return "PcmSupplierClause{" +
                "supplierClauseID=" + supplierClauseID +
                ", clauseTitle='" + clauseTitle + '\'' +
                ", totalScore=" + totalScore +
                ", srmScore=" + srmScore +
                ", pddPeople=" + pddPeople +
                ", submissionTime=" + submissionTime +
                ", updatedTime=" + updatedTime +
                ", pcmSupplierRatingList=" + pcmSupplierRatingList +
                ", sysUserList=" + sysUserList +
                ", pcmAudit=" + pcmAudit +
                '}';
    }
}
